<form id="J_Form">
<div class="row" >
  <div class="row-fluid show-grid">
    <div class="span4 span-first">
        <div class="panel panel-head-borded panel-small">
          <div class="panel-header">栏目列表</div>
          <div id="t1">
            
          </div>
        </div>
    </div>
    <div class="span20">
        <iframe class="content-ifame" id="content-right" frameborder=false name="content-right" src="" style="width: 100%; height:100%; border:1px solid #ccc; "></iframe>
        
    </div>
  </div>
</div>
</form>
<script type="text/javascript">
    $(function(){  
        $('#content-right').css({height:$(window).height()- 30});  
          
    }); 
    BUI.use('bui/tree',function (Tree) {
        
      //树节点数据，
      //text : 文本，
      //id : 节点的id,
      //leaf ：标示是否叶子节点，可以不提供，根据childern,是否为空判断
      //expanded ： 是否默认展开
      var data = <?php echo $jCategory ?>;
      //由于这个树，不显示根节点，所以可以不指定根节点
      var tree = new Tree.TreeList({
        render : '#t1',
        nodes : data
      });
      tree.render(); 
    });
</script>

